package com.portal.incurridos.persistence.wall;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * @author Alan D�vila
 * e-mail ustargab@gmail.com
 * date 08/11/2013 00:47:56
 */
@Entity
@Table(schema = "app", name = "checklist")
@SequenceGenerator(sequenceName = "app.checklist_checklist_seq", name = "idgen", allocationSize = 1)
public class CheckList {

	/**
	 * Identifier of checklist.
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "idgen")
	private Long checklist;
	/**
	 * Identifier of card.
	 */
	@Id
	private Long card;
	/**
	 * Description of check.
	 */
	private String description;
	/**
	 * @return the checklist
	 */
	public final Long getChecklist() {
		return checklist;
	}
	/**
	 * @param checklistIn the checklist to set
	 */
	public final void setChecklist(final Long checklistIn) {
		this.checklist = checklistIn;
	}
	/**
	 * @return the card
	 */
	public final Long getCard() {
		return card;
	}
	/**
	 * @param cardIn the card to set
	 */
	public final void setCard(final Long cardIn) {
		this.card = cardIn;
	}
	/**
	 * @return the description
	 */
	public final String getDescription() {
		return description;
	}
	/**
	 * @param descriptionIn the description to set
	 */
	public final void setDescription(final String descriptionIn) {
		this.description = descriptionIn;
	}
}
